/*
 * @Description: 用户管理-接口
 * @Author: xinqiao lxq1990.0716@qq.com
 * @Date: 2024-04-11
 * @LastEditors: xinqiao lxq1990.0716@qq.com
 * @LastEditTime: 2024-04-20
 */
import { post } from '@/api/request'

/** 查询用户信息 */
export const requestGetUserInfoByUserId = (data: GetUserInfoByUserIdTypes.IRequest, config?: IRequestConfig) =>
  post<GetUserInfoByUserIdTypes.IRequest, IBaseResponse<GetUserInfoByUserIdTypes.IResponse>>('/system/ysys-user/user/getUserByUserId/V1', data, config)

/** 根据userId修改用户信息 */
export const requestUpdateUserInfoByUserId = (data: UpdateUserInfoByUserIdTypes.IRequest) =>
  post<UpdateUserInfoByUserIdTypes.IRequest, IBaseResponse<UpdateUserInfoByUserIdTypes.IResponse>>('/system/ysys-user/user/updateUserInfoByUserId/V1', data)
